import request from '@/utils/request'

// data 请求体数据
export function addAboutUsBanner(data){
  return request({
    url: '/aboutUsBanner/add',
    method: 'post',
    data: data
  })

}

export function getBannerList(){
   return request({
     url:'/aboutUsBanner/list',
     method:'get'
   })
}

export function updateAboutUsBanner(data){
  return request({
    url: '/aboutUsBanner/update',
    method: 'post',
    data: data
  })
}

export function deleteAboutUsBanner(data){
  return request({
    url: '/aboutUsBanner/delete',
    method: 'post',
    data: data
  })
}
